/*
*	(*^。^*) TFrameWork License (*^。^*)
*/

/*
 *  Title :  
 *          
 *  Description :  
 *          
 *          
 *  Date : 
 *
 *  Author : DengPing
 *
 *  Modify : 
 */
using UnityEditor;

namespace TFrameWork.Module.ActionEditor
{
    internal partial class ActionEditor
    {
        [DrawGizmo(GizmoType.NotInSelectionHierarchy | GizmoType.InSelectionHierarchy)]
        private static void DrawGizmos(TimeLineAction player, GizmoType gizmoType)
        {
            if (Instance == null ||Instance.PreviewCharacterObj == null) return;

            for (int i = 0; i < Instance.trackList.Count; i++)
            {
                Instance.trackList[i].DrawGizmos();
            }
        }

        private void OnSceneGUI(SceneView obj)
        {
            if (Instance == null || PreviewCharacterObj == null) return;
            for (int i = 0; i < trackList.Count; i++)
            {
                trackList[i].OnSceneGUI();
            }

        }
        
    }
}
